Skip to content

feat: 恢复auto_daily - #511

Closed
YaoerWu wants to merge 7 commits into
OpenWSGR:mainfrom
YaoerWu:dev
Closed

feat: 恢复auto_daily#511
YaoerWu wants to merge 7 commits into
OpenWSGR:mainfrom
YaoerWu:dev

Conversation

@YaoerWu

@YaoerWu YaoerWu commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

YaoerWu and others added 2 commits July 26, 2026 18:57
…pport

- Add SET_CLIPBOARD support for multi-byte (Chinese) text input
- Use INJECT_TEXT for ASCII, SET_CLIPBOARD+paste for non-ASCII
- Refine touch event injection format
- Update controller tests
@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

YaoerWu and others added 2 commits July 27, 2026 01:48
- config_compat.migrate_raw_config 集中处理 classic 遗留字段
  (ship_name_file/account/password 删除提示; delay→OPERATION_DELAY;
  平铺 emulator_type/start_cmd/name→嵌套 emulator 块; check_update/
  show_map_node 清理), 支持 source_path 写回使迁移一次性生效
- config.py 删 delay/check_page/ship_name_file 及 7 个死 log 开关,
  新增 bath_repair_blacklist 与 operation_delay() 运行期延迟函数
- scrcpy.py 改调 operation_delay(), 修复 from import 值绑定致改全局延迟不生效

Co-Authored-By: Claude <[email protected]>
- 新增 triggers.py + daily_plan.py: 触发器+优先级队列架构,
  注册远征/任务奖励/浴室修理/战役/演习/常规战
- TaskScheduler.run_daily 触发器驱动主循环; _run_task 无条件用
  BatchRunnerAdapter 包装, 修复 CampaignRunner 返回 list 时 on_done
  回调 'list' object has no attribute 'flag' 崩溃
  (isinstance @runtime_checkable 不查返回类型致误判)
- BathRoom 槽位状态机 + repair_longest + repair_one_available
  (完整空位调度 + 维修黑名单)
- destroy_ships_auto 三模式 (disable/include/exclude);
  ensure_battle_support (auto_set_support)

Co-Authored-By: Claude <[email protected]>
@YaoerWu

YaoerWu commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

- usersettings.yaml/full.yaml 删废弃字段、加 bath_repair_blacklist
- 新增 test_bathroom / test_destroy_unit / test_scheduler_unit
- test_config 补 compat 迁移与写回测试

Co-Authored-By: Claude <[email protected]>
@YaoerWu YaoerWu changed the title feat: 用scrcpy控制流代替一些adb操作 feat: 恢复auto_daily Jul 26, 2026
@YaoerWu YaoerWu closed this Jul 27, 2026
@YaoerWu

YaoerWu commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

本pr在#513 中重新整理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

自动选船无法在搜索框中输入中文字符

1 participant